package com.wp.file.myoffice.bean;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * 文档响应实体类
 */
@Data
@AllArgsConstructor
public class DocumentEditCallbackResponse {
    private int error;

    public static DocumentEditCallbackResponse success(){
        return new DocumentEditCallbackResponse(0);
    }

    public static DocumentEditCallbackResponse failue(){
        return new DocumentEditCallbackResponse(1);
    }
}
